package cn.iocoder.devlop.module.annual.report.annotations;

import cn.iocoder.devlop.module.annual.report.enums.ChangeInfoNotificationEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Euan
 * @since 2024/1/20
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface PushToApi {
    boolean enable() default false;

    String value() default "http://localhost:29001/common/pushinfo";

    ChangeInfoNotificationEnum.Type type();

    String target();
}
